.class Lcom/estrongs/android/pop/app/PopVideoPlayer$r;
.super Lcom/estrongs/android/pop/esclasses/j;
.source "PopVideoPlayer.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/PopVideoPlayer;->G()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic K:Lcom/estrongs/android/pop/app/PopVideoPlayer;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/PopVideoPlayer;Landroid/content/Context;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-direct {p0, p2}, Lcom/estrongs/android/pop/esclasses/j;-><init>(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->B()Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_4

    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->h(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->i(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->j(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0, v1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->a(Lcom/estrongs/android/pop/app/PopVideoPlayer;Z)Z

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->h(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->A()V

    .line 6
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->i(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->k(Lcom/estrongs/android/pop/app/PopVideoPlayer;)V

    :cond_2
    return-void

    .line 8
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0, v1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->a(Lcom/estrongs/android/pop/app/PopVideoPlayer;Z)Z

    return-void

    .line 9
    :cond_4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->B()Z

    move-result v0

    if-nez v0, :cond_5

    .line 10
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/j;->a()V

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    return-void

    .line 12
    :cond_5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0, v1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->a(Lcom/estrongs/android/pop/app/PopVideoPlayer;Z)Z

    .line 13
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/j;->a()V

    return-void
.end method

.method public a(I)V
    .locals 3

    const/4 p1, 0x0

    .line 14
    :try_start_0
    invoke-super {p0, p1}, Lcom/estrongs/android/pop/esclasses/j;->a(I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 15
    :catch_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->C(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Landroid/os/Handler;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->C(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Landroid/os/Handler;

    move-result-object v0

    const/4 v1, 0x5

    invoke-virtual {v0, v1}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object v0

    const-wide/16 v1, 0x3e8

    invoke-virtual {p1, v0, v1, v2}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    :goto_0
    return-void
.end method

.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
    .locals 4

    .line 1
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v0

    .line 2
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v1

    const/4 v2, 0x1

    if-nez v1, :cond_0

    .line 3
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I

    move-result v1

    if-nez v1, :cond_0

    const/4 v1, 0x1

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :goto_0
    const/4 v3, 0x4

    if-eq v0, v3, :cond_3

    const/16 v3, 0x52

    if-ne v0, v3, :cond_1

    goto :goto_1

    :cond_1
    const/16 v1, 0x18

    if-ne v0, v1, :cond_2

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->B()Z

    move-result v1

    if-nez v1, :cond_2

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->l(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Lcom/estrongs/chromecast/ChromeCastManager;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/chromecast/ChromeCastManager;->upVolume()V

    return v2

    :cond_2
    const/16 v1, 0x19

    if-ne v0, v1, :cond_4

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->B()Z

    move-result v0

    if-nez v0, :cond_4

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->l(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Lcom/estrongs/chromecast/ChromeCastManager;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/chromecast/ChromeCastManager;->downVolume()V

    return v2

    :cond_3
    :goto_1
    if-eqz v1, :cond_4

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$r;->K:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0, v2}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->a(Lcom/estrongs/android/pop/app/PopVideoPlayer;Z)Z

    .line 9
    :cond_4
    invoke-super {p0, p1}, Lcom/estrongs/android/pop/esclasses/j;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result p1

    return p1
.end method
